package com.yt.app.provider.service.impl;

import com.yt.app.core.interfaces.ActivityService;
import com.yt.app.core.model.Activity;
import com.yt.app.provider.dao.ActivityDao;
import com.yt.core.service.GenericServiceImpl;

public class ActivityServiceImpl extends GenericServiceImpl<Activity, Long> implements ActivityService {
	private ActivityDao dao;

	public ActivityServiceImpl() {
	}

	public ActivityServiceImpl(ActivityDao dao) {
		super(dao);
		this.dao = dao;
	}

	public Integer increaseUserCount(Long id){
		return this.dao.increaseUserCount(id);
	}
}
